<?php

class MemberModel extends Model {

    protected $_validate = array (
		array('mobile','require','手机号码已存在', 1 , unique , Model::MODEL_INSERT),
		array('password','require','密码不能为空', 1 , 0 , Model::MODEL_INSERT),
    );	

    protected $_auto = array (
		array('createTime','time',Model::MODEL_INSERT,'function'),		
		array('password','md5',Model::MODEL_INSERT,'function'),
	);

}
?>